#include <iostream>
#include <vector>

using namespace std;

#ifndef COMPILE_RUN
#include "body.cc"
#endif
class Solution
{
public:
int findMaxNum(const vector<int> &nums)
{
return 0;}
};
#ifndef COMPILE_RUN
#include "header.hpp"
#endif

/*************************answer begin**************************/
int findMaxNum(const vector<int> &nums)
{
    int max = nums[0];
    for (auto e : nums)
    {
        if (max < e)
            max = e;
    }
    return max;
}
/*************************answer   end**************************/

bool Test(const vector<int> &nums)
{
    return Solution().findMaxNum(nums) == findMaxNum(nums);
}

void Print(const vector<int> &v)
{
    cout << "[";
    for (int i = 0; i < v.size(); ++i)
    {
        cout << v[i];
        if (i == v.size() - 1)
            cout << "]";
        else
            cout << ",";
    }
}
int main()
{
    vector<vector<int>> v = {
        {3, 2, 5, 1, 6, 4, 2, 4, 3},
        {3},
        {1, 1, 1, 1, 1, 1},
        {-2, 3, 1, 5, 3, 2, 1, 5, 3},
        {5, 5, 5, 3, 3, 3},
        {6}};

    for (auto &e : v)
    {
        if (!Test(e))
        {
            cout << "测试用例：";
            Print(e);
            cout << " 未通过\n你的输出: " << findMaxNum(e) << endl;
            return 0;
        }
    }
    cout << "通过全部测试用例" << endl;
    return 0;
}